package week2.example;//********************************************************************************
// Addition.java           Author:Duanzhixuan
//
// Demonstrates the difference between the addtion and string
// concatenation operators
//********************************************************************************


public class Additons
{
   //-----------------------------------------------------------------------------
   //  Concatenates and adds two numbers and prints the results.
   //-----------------------------------------------------------------------------
   public static void main(String[] args)
   {
        System.out.println("24 and 45 concatenated: "+ 24 +45);

        System.out.println("24 and 45 addedx: "+(24 + 45));
   }
}
